import { request } from '@umijs/max';
import type { ColumnList } from './data.d';

export async function column( 
  params: { word: string },
  options: { [key: string]: any } ) {
	const { word: param0 } = params;
  return request<ColumnList>(`/column/s/${param0}`, {
    method: 'GET',
    params: {...params,},
    ...(options || {}),
  });
}